<template>
  <!-- 新闻资讯 -->
  <div class="t4_content" style="background: #f7f8fa">
    <div class="t4_w" style="position: relative">
      <div class="hotspotDataBox">
        <div class="hotspotData_rigth">
          <XinWinZiXunlist v-if="activeTabIndex == 0" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import XinWinZiXunlist from '@/views/TaskManagement/XinWenZiXun/ZuJian/XinWinZiXunlist.vue'

export default {
  components: {
    XinWinZiXunlist
  },
  data() {
    return {
      currentIndex: 0,
      searchInfo: '',
      tabs: [],
      activeTabIndex: 0,
      // 仅添加搜索相关的数据属性
      startDate: '',
      endDate: '',
      status: ''
    }
  },
  mounted() {
    this.getissjj()
  },
  methods: {
    getissjj() {
      this.tabs.push({ name: '新闻资讯列表', index: 0 })
    },
    add(item, index) {
      this.currentIndex = index
      this.activeTabIndex = item.index
    }
  }
}
</script>

<style scoped>
.t4_w {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 以下样式保持不变 */
.hotspotDataBox {
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
  min-height: 800px;
}

.hotspotDataBox .hotspotData_rigth {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border: 1px #edeef0 solid;
}

</style>
